package Expe10;

/**
 * @Author 28021
 * @Date 2022/11/15
 */
public class Test2 {
    public static void main(String[] args) {
        MobilePhone mobilePhone = new MobilePhone();
        SIM sim;

        sim = new SIMOfChinaMobile(137);
        mobilePhone.useSIM(sim);

        sim = new SIMOfChinaUnicom(156);
        mobilePhone.useSIM(sim);

        sim = new SIMOfChinaTelecom(177);
        mobilePhone.useSIM(sim);


    }
}
